package com.yuanhua.xcxmng.wechat.mapper;

import com.yuanhua.xcxmng.wechat.entity.UserData;
import com.yuanhua.xcxmng.wechat.entity.UserDataQuery;

import java.util.List;

public interface UserDataMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserData record);

    int insertSelective(UserData record);

    UserData selectByPrimaryKey(Long id);

    List<UserData> selectLastThree(UserDataQuery userDataQuery);

    List<UserData> queryPage(UserDataQuery userDataQuery);

    List<UserData> queryReport(UserDataQuery userDataQuery);

    int updateByPrimaryKeySelective(UserData record);

    int updateByPrimaryKey(UserData record);
}